<template>
  <div class="weiquan">
    <!-- <div class="user">
      <van-image
        class="avatar"
        src="https://img01.yzcdn.cn/vant/cat.jpeg"
        round
      />
      <div class="name">xxxx用户昵称</div>
    </div> -->
    <div class="content" v-html="item.body"></div>
    <div class="pics">
      <van-image
        v-for="(v, i) in item.picList"
        :key="i"
        class="pic_item"
        :src="v"
      />
    </div>
    <div class="type">
      维权类型：<van-tag type="primary">{{ item.description }}</van-tag>
    </div>
  </div>
</template>

<script>
export default {
  name: "weiquanItem",
  components: {},
  props: {
    item: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>
<style lang="less" scoped>
.weiquan {
  width: 100%;
  padding: 30px 30px 60px 30px;
  background: #fff;
  border-radius: 25px;
  margin-bottom: 30px;
  .user {
    display: flex;
    align-items: center;
    .avatar {
      width: 160px;
      height: 160px;
    }
    .name {
      font-size: 50px;
      margin-left: 25px;
      font-weight: bold;
    }
  }
  .content {
    margin-top: 50px;
    font-size: 50px;
  }
  .pics {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    .pic_item {
      width: 32%;
      aspect-ratio: 1;
      margin-bottom: 20px;
    }
  }

  .type {
    margin-top: 20px;
    font-size: 50px;
    display: flex;
    align-items: center;
    /deep/ .van-tag {
      padding: 10px 20px;
      border-radius: 10px;
    }
  }
}
</style>